# UDEV-style hotplug map for libmtp
# Put this file in /etc/udev/rules.d

ACTION!="add", GOTO="libmtp_rules_end"
ENV{MAJOR}!="?*", GOTO="libmtp_rules_end"
SUBSYSTEM=="usb", GOTO="libmtp_usb_rules"
GOTO="libmtp_rules_end"

LABEL="libmtp_usb_rules"

# Some sensitive devices we surely don't wanna probe
# Color instruments
ATTR{idVendor}=="0670", GOTO="libmtp_rules_end"
ATTR{idVendor}=="0765", GOTO="libmtp_rules_end"
ATTR{idVendor}=="085c", GOTO="libmtp_rules_end"
ATTR{idVendor}=="0971", GOTO="libmtp_rules_end"
# Apple Inc devices
ATTR{idVendor}=="05ac", GOTO="libmtp_rules_end"
# Canon scanners that look like MTP devices (PID 0x22nn)
ATTR{idVendor}=="04a9", ATTR{idProduct}=="22*", GOTO="libmtp_rules_end"
# Canon digital camera (EOS 3D) that looks like MTP device (PID 0x3113)
ATTR{idVendor}=="04a9", ATTR{idProduct}=="3113", GOTO="libmtp_rules_end"
# Sensitive Atheros devices that look like MTP devices
ATTR{idVendor}=="0cf3", GOTO="libmtp_rules_end"
# Sensitive Atmel JTAG programmers
ATTR{idVendor}=="03eb", GOTO="libmtp_rules_end"
# Sensitive Philips device
ATTR{idVendor}=="0471", ATTR{idProduct}=="083f", GOTO="libmtp_rules_end"
# Creative ZEN Vision
ATTR{idVendor}=="041e", ATTR{idProduct}=="411f", RUN+="/usr/sbin/pupautodetect android-device"
# Creative Portable Media Center
ATTR{idVendor}=="041e", ATTR{idProduct}=="4123", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN Xtra (MTP mode)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4128", RUN+="/usr/sbin/pupautodetect android-device"
# Dell DJ (2nd generation)
ATTR{idVendor}=="041e", ATTR{idProduct}=="412f", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN Micro (MTP mode)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4130", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN Touch (MTP mode)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4131", RUN+="/usr/sbin/pupautodetect android-device"
# Dell Dell Pocket DJ (MTP mode)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4132", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN MicroPhoto (alternate version)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4133", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN Sleek (MTP mode)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4137", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN MicroPhoto
ATTR{idVendor}=="041e", ATTR{idProduct}=="413c", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN Sleek Photo
ATTR{idVendor}=="041e", ATTR{idProduct}=="413d", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN Vision:M
ATTR{idVendor}=="041e", ATTR{idProduct}=="413e", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN V
ATTR{idVendor}=="041e", ATTR{idProduct}=="4150", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN Vision:M (DVP-HD0004)
ATTR{idVendor}=="041e", ATTR{idProduct}=="4151", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN V Plus
ATTR{idVendor}=="041e", ATTR{idProduct}=="4152", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN Vision W
ATTR{idVendor}=="041e", ATTR{idProduct}=="4153", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN
ATTR{idVendor}=="041e", ATTR{idProduct}=="4157", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN V 2GB
ATTR{idVendor}=="041e", ATTR{idProduct}=="4158", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN Mozaic
ATTR{idVendor}=="041e", ATTR{idProduct}=="4161", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN X-Fi
ATTR{idVendor}=="041e", ATTR{idProduct}=="4162", RUN+="/usr/sbin/pupautodetect android-device"
# Creative ZEN X-Fi 3
ATTR{idVendor}=="041e", ATTR{idProduct}=="4169", RUN+="/usr/sbin/pupautodetect android-device"
# ZiiLABS Zii EGG
ATTR{idVendor}=="041e", ATTR{idProduct}=="6000", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-900
ATTR{idVendor}=="04e8", ATTR{idProduct}=="0409", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung I550W Phone
ATTR{idVendor}=="04e8", ATTR{idProduct}=="04a4", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung Jet S8000
ATTR{idVendor}=="04e8", ATTR{idProduct}=="4f1f", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YH-920 (501d)
ATTR{idVendor}=="04e8", ATTR{idProduct}=="501d", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YH-920 (5022)
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5022", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YH-925GS
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5024", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YH-820
ATTR{idVendor}=="04e8", ATTR{idProduct}=="502e", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YH-925(-GS)
ATTR{idVendor}=="04e8", ATTR{idProduct}=="502f", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YH-J70J
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5033", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-Z5
ATTR{idVendor}=="04e8", ATTR{idProduct}=="503c", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-T7J
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5047", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-U2J (YP-U2JXB/XAA)
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5054", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-F2J
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5057", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-K5
ATTR{idVendor}=="04e8", ATTR{idProduct}=="505a", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-U3
ATTR{idVendor}=="04e8", ATTR{idProduct}=="507d", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-T9
ATTR{idVendor}=="04e8", ATTR{idProduct}=="507f", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-K3
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5081", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-P2
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5083", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-T10
ATTR{idVendor}=="04e8", ATTR{idProduct}=="508a", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-S5
ATTR{idVendor}=="04e8", ATTR{idProduct}=="508b", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-S3
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5091", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-U4
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5093", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-R1
ATTR{idVendor}=="04e8", ATTR{idProduct}=="510f", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-Q1
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5115", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-M1
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5118", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-P3
ATTR{idVendor}=="04e8", ATTR{idProduct}=="511a", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-Q2
ATTR{idVendor}=="04e8", ATTR{idProduct}=="511d", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-U5
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5121", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-R0
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5125", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-R2
ATTR{idVendor}=="04e8", ATTR{idProduct}=="512e", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-Q3
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5130", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YP-Z3
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5137", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung YH-999 Portable Media Center/SGH-A707/SGH-L760V/SGH-U900/Verizon Intensity/Fascinate
ATTR{idVendor}=="04e8", ATTR{idProduct}=="5a0f", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung M7600 Beat/GT-S8300T/SGH-F490/S8300
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6642", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung X830 Mobile Phone
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6702", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung U600 Mobile Phone
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6709", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung F250 Mobile Phone
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6727", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung Juke (SCH-U470)
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6734", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung GT-B2700
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6752", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung SAMSUNG Trance
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6763", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung GT-S8500
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6819", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung Galaxy models (MTP+ADB)
ATTR{idVendor}=="04e8", ATTR{idProduct}=="685c", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung Galaxy models (MTP)
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung Galaxy models Kies mode
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6877", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung Vibrant SGH-T959/Captivate/Media player mode
ATTR{idVendor}=="04e8", ATTR{idProduct}=="68a9", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung GT-B2710/Xcover 271
ATTR{idVendor}=="04e8", ATTR{idProduct}=="68af", RUN+="/usr/sbin/pupautodetect android-device"
# Samsung GT-S5230
ATTR{idVendor}=="04e8", ATTR{idProduct}=="e20c", RUN+="/usr/sbin/pupautodetect android-device"
# Microsoft/Intel Bandon Portable Media Center
ATTR{idVendor}=="045e", ATTR{idProduct}=="00c9", RUN+="/usr/sbin/pupautodetect android-device"
# Microsoft Windows Phone
ATTR{idVendor}=="045e", ATTR{idProduct}=="04ec", RUN+="/usr/sbin/pupautodetect android-device"
# Microsoft Windows MTP Simulator
ATTR{idVendor}=="045e", ATTR{idProduct}=="0622", RUN+="/usr/sbin/pupautodetect android-device"
# Microsoft Zune HD
ATTR{idVendor}=="045e", ATTR{idProduct}=="063e", RUN+="/usr/sbin/pupautodetect android-device"
# Microsoft Kin 1
ATTR{idVendor}=="045e", ATTR{idProduct}=="0640", RUN+="/usr/sbin/pupautodetect android-device"
# Microsoft/Sharp/nVidia Kin TwoM
ATTR{idVendor}=="045e", ATTR{idProduct}=="0641", RUN+="/usr/sbin/pupautodetect android-device"
# Microsoft Zune
ATTR{idVendor}=="045e", ATTR{idProduct}=="0710", RUN+="/usr/sbin/pupautodetect android-device"
# Microsoft/HTC HTC 8S
ATTR{idVendor}=="045e", ATTR{idProduct}=="f0ca", RUN+="/usr/sbin/pupautodetect android-device"
# JVC Alneo XA-HD500
ATTR{idVendor}=="04f1", ATTR{idProduct}=="6105", RUN+="/usr/sbin/pupautodetect android-device"
# Philips HDD6320/00 or HDD6330/17
ATTR{idVendor}=="0471", ATTR{idProduct}=="014b", RUN+="/usr/sbin/pupautodetect android-device"
# Philips HDD14XX,HDD1620 or HDD1630/17
ATTR{idVendor}=="0471", ATTR{idProduct}=="014c", RUN+="/usr/sbin/pupautodetect android-device"
# Philips HDD085/00 or HDD082/17
ATTR{idVendor}=="0471", ATTR{idProduct}=="014d", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear SA9200
ATTR{idVendor}=="0471", ATTR{idProduct}=="014f", RUN+="/usr/sbin/pupautodetect android-device"
# Philips SA1115/55
ATTR{idVendor}=="0471", ATTR{idProduct}=="0164", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear Audio
ATTR{idVendor}=="0471", ATTR{idProduct}=="0165", RUN+="/usr/sbin/pupautodetect android-device"
# Philips Shoqbox
ATTR{idVendor}=="0471", ATTR{idProduct}=="0172", RUN+="/usr/sbin/pupautodetect android-device"
# Philips PSA610
ATTR{idVendor}=="0471", ATTR{idProduct}=="0181", RUN+="/usr/sbin/pupautodetect android-device"
# Philips HDD6320
ATTR{idVendor}=="0471", ATTR{idProduct}=="01eb", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear SA6014/SA6015/SA6024/SA6025/SA6044/SA6045
ATTR{idVendor}=="0471", ATTR{idProduct}=="084e", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear SA5145
ATTR{idVendor}=="0471", ATTR{idProduct}=="0857", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear SA6125/SA6145/SA6185
ATTR{idVendor}=="0471", ATTR{idProduct}=="2002", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear SA3345
ATTR{idVendor}=="0471", ATTR{idProduct}=="2004", RUN+="/usr/sbin/pupautodetect android-device"
# Philips SA5285
ATTR{idVendor}=="0471", ATTR{idProduct}=="2022", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear ViBE SA1VBE04
ATTR{idVendor}=="0471", ATTR{idProduct}=="2075", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear Muse
ATTR{idVendor}=="0471", ATTR{idProduct}=="2077", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear ViBE SA1VBE04/08
ATTR{idVendor}=="0471", ATTR{idProduct}=="207b", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear Aria
ATTR{idVendor}=="0471", ATTR{idProduct}=="207c", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear SA1VBE08KX/78
ATTR{idVendor}=="0471", ATTR{idProduct}=="208e", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear VIBE SA2VBE[08|16]K/02
ATTR{idVendor}=="0471", ATTR{idProduct}=="20b7", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear Ariaz
ATTR{idVendor}=="0471", ATTR{idProduct}=="20b9", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear Vibe/02
ATTR{idVendor}=="0471", ATTR{idProduct}=="20e5", RUN+="/usr/sbin/pupautodetect android-device"
# Philips GoGear Ariaz/97
ATTR{idVendor}=="0471", ATTR{idProduct}=="2138", RUN+="/usr/sbin/pupautodetect android-device"
# Philips PSA235
ATTR{idVendor}=="0471", ATTR{idProduct}=="7e01", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A500 (ID1)
ATTR{idVendor}=="0502", ATTR{idProduct}=="3325", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A500 (ID2)
ATTR{idVendor}=="0502", ATTR{idProduct}=="3341", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A501 (ID1)
ATTR{idVendor}=="0502", ATTR{idProduct}=="3344", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A501 (ID2)
ATTR{idVendor}=="0502", ATTR{idProduct}=="3345", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A100 (ID1)
ATTR{idVendor}=="0502", ATTR{idProduct}=="3348", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A100 (ID2)
ATTR{idVendor}=="0502", ATTR{idProduct}=="3349", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A101 (ID1)
ATTR{idVendor}=="0502", ATTR{idProduct}=="334a", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A700
ATTR{idVendor}=="0502", ATTR{idProduct}=="3378", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A200 (ID1)
ATTR{idVendor}=="0502", ATTR{idProduct}=="337c", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A200 (ID2)
ATTR{idVendor}=="0502", ATTR{idProduct}=="337d", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A510 (ID1)
ATTR{idVendor}=="0502", ATTR{idProduct}=="3389", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A510 (ID2)
ATTR{idVendor}=="0502", ATTR{idProduct}=="338a", RUN+="/usr/sbin/pupautodetect android-device"
# Acer S500 CloudMobile
ATTR{idVendor}=="0502", ATTR{idProduct}=="33aa", RUN+="/usr/sbin/pupautodetect android-device"
# Acer E350 Liquid Gallant Duo (ID1)
ATTR{idVendor}=="0502", ATTR{idProduct}=="33c3", RUN+="/usr/sbin/pupautodetect android-device"
# Acer E350 Liquid Gallant Duo (ID2)
ATTR{idVendor}=="0502", ATTR{idProduct}=="33c4", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A210
ATTR{idVendor}=="0502", ATTR{idProduct}=="33cb", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia TAB A110
ATTR{idVendor}=="0502", ATTR{idProduct}=="33d8", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Liquid Z120 MT65xx Android Phone
ATTR{idVendor}=="0502", ATTR{idProduct}=="3473", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Iconia A1-810
ATTR{idVendor}=="0502", ATTR{idProduct}=="353c", RUN+="/usr/sbin/pupautodetect android-device"
# Acer Liquid Z130 MT65xx Android Phone
ATTR{idVendor}=="0502", ATTR{idProduct}=="355f", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa m230/m240
ATTR{idVendor}=="0781", ATTR{idProduct}=="7400", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa m200-tcc (MTP mode)
ATTR{idVendor}=="0781", ATTR{idProduct}=="7401", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa c150
ATTR{idVendor}=="0781", ATTR{idProduct}=="7410", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa e200/e250/e260/e270/e280
ATTR{idVendor}=="0781", ATTR{idProduct}=="7420", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa e260/e280 v2
ATTR{idVendor}=="0781", ATTR{idProduct}=="7422", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa m240/m250
ATTR{idVendor}=="0781", ATTR{idProduct}=="7430", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa Clip
ATTR{idVendor}=="0781", ATTR{idProduct}=="7432", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa Clip v2
ATTR{idVendor}=="0781", ATTR{idProduct}=="7434", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa c240/c250
ATTR{idVendor}=="0781", ATTR{idProduct}=="7450", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa c250 v2
ATTR{idVendor}=="0781", ATTR{idProduct}=="7452", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa Express
ATTR{idVendor}=="0781", ATTR{idProduct}=="7460", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa Connect
ATTR{idVendor}=="0781", ATTR{idProduct}=="7480", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa View
ATTR{idVendor}=="0781", ATTR{idProduct}=="74b0", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa Fuze
ATTR{idVendor}=="0781", ATTR{idProduct}=="74c0", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa Fuze v2
ATTR{idVendor}=="0781", ATTR{idProduct}=="74c2", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa Clip+
ATTR{idVendor}=="0781", ATTR{idProduct}=="74d0", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa Fuze+
ATTR{idVendor}=="0781", ATTR{idProduct}=="74e0", RUN+="/usr/sbin/pupautodetect android-device"
# SanDisk Sansa Clip Zip
ATTR{idVendor}=="0781", ATTR{idProduct}=="74e4", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver H300 Series MTP
ATTR{idVendor}=="1006", ATTR{idProduct}=="3004", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver Portable Media Center 1
ATTR{idVendor}=="1006", ATTR{idProduct}=="4002", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver Portable Media Center 2
ATTR{idVendor}=="1006", ATTR{idProduct}=="4003", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver T7 Volcano
ATTR{idVendor}=="1042", ATTR{idProduct}=="1143", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver iFP-880
ATTR{idVendor}=="4102", ATTR{idProduct}=="1008", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver T10
ATTR{idVendor}=="4102", ATTR{idProduct}=="1113", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver T20 FM
ATTR{idVendor}=="4102", ATTR{idProduct}=="1114", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver T20
ATTR{idVendor}=="4102", ATTR{idProduct}=="1115", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver U10
ATTR{idVendor}=="4102", ATTR{idProduct}=="1116", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver T10b
ATTR{idVendor}=="4102", ATTR{idProduct}=="1117", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver T20b
ATTR{idVendor}=="4102", ATTR{idProduct}=="1118", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver T30
ATTR{idVendor}=="4102", ATTR{idProduct}=="1119", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver T10 2GB
ATTR{idVendor}=="4102", ATTR{idProduct}=="1120", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver N12
ATTR{idVendor}=="4102", ATTR{idProduct}=="1122", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver Clix2
ATTR{idVendor}=="4102", ATTR{idProduct}=="1126", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver Clix
ATTR{idVendor}=="4102", ATTR{idProduct}=="112a", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver X20
ATTR{idVendor}=="4102", ATTR{idProduct}=="1132", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver T60
ATTR{idVendor}=="4102", ATTR{idProduct}=="1134", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver E100
ATTR{idVendor}=="4102", ATTR{idProduct}=="1141", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver E100 v2/Lplayer
ATTR{idVendor}=="4102", ATTR{idProduct}=="1142", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver Spinn
ATTR{idVendor}=="4102", ATTR{idProduct}=="1147", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver E50
ATTR{idVendor}=="4102", ATTR{idProduct}=="1151", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver E150
ATTR{idVendor}=="4102", ATTR{idProduct}=="1152", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver T5
ATTR{idVendor}=="4102", ATTR{idProduct}=="1153", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver E30
ATTR{idVendor}=="4102", ATTR{idProduct}=="1167", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver H10 20GB
ATTR{idVendor}=="4102", ATTR{idProduct}=="2101", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver H10 5GB
ATTR{idVendor}=="4102", ATTR{idProduct}=="2102", RUN+="/usr/sbin/pupautodetect android-device"
# iRiver H10 5.6GB
ATTR{idVendor}=="4102", ATTR{idProduct}=="2105", RUN+="/usr/sbin/pupautodetect android-device"
# Dell Inc DJ Itty
ATTR{idVendor}=="413c", ATTR{idProduct}=="4500", RUN+="/usr/sbin/pupautodetect android-device"
# Dell Inc Dell Streak 7
ATTR{idVendor}=="413c", ATTR{idProduct}=="b10b", RUN+="/usr/sbin/pupautodetect android-device"
# Dell Inc Dell Venue 7 inch
ATTR{idVendor}=="413c", ATTR{idProduct}=="b11a", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat MEGF-40
ATTR{idVendor}=="0930", ATTR{idProduct}=="0009", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat
ATTR{idVendor}=="0930", ATTR{idProduct}=="000c", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat P20
ATTR{idVendor}=="0930", ATTR{idProduct}=="000f", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat S
ATTR{idVendor}=="0930", ATTR{idProduct}=="0010", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat P10
ATTR{idVendor}=="0930", ATTR{idProduct}=="0011", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat V30
ATTR{idVendor}=="0930", ATTR{idProduct}=="0014", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat U
ATTR{idVendor}=="0930", ATTR{idProduct}=="0016", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat MEU202
ATTR{idVendor}=="0930", ATTR{idProduct}=="0018", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat T
ATTR{idVendor}=="0930", ATTR{idProduct}=="0019", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat MEU201
ATTR{idVendor}=="0930", ATTR{idProduct}=="001a", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Gigabeat MET401
ATTR{idVendor}=="0930", ATTR{idProduct}=="001d", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Excite AT300
ATTR{idVendor}=="0930", ATTR{idProduct}=="0963", RUN+="/usr/sbin/pupautodetect android-device"
# Toshiba Thrive AT100/AT105
ATTR{idVendor}=="0930", ATTR{idProduct}=="7100", RUN+="/usr/sbin/pupautodetect android-device"
# Archos Gmini XS100
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1207", RUN+="/usr/sbin/pupautodetect android-device"
# Archos XS202 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1208", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 104 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="120a", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 204 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="120c", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 404 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1301", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 404CAM (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1303", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 504 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1307", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 604 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1309", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 604WIFI (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="130b", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 704 mobile dvr
ATTR{idVendor}=="0e79", ATTR{idProduct}=="130d", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 704TV (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="130f", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 405 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1311", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 605 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1313", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 605F (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1315", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 705 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1319", RUN+="/usr/sbin/pupautodetect android-device"
# Archos TV+ (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="131b", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 105 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="131d", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 405HDD (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1321", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 5 (MTP mode 1)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1331", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 5 (MTP mode 2)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1333", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 7 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1335", RUN+="/usr/sbin/pupautodetect android-device"
# Archos SPOD (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1341", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 5S IT (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1351", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 5H IT (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1357", RUN+="/usr/sbin/pupautodetect android-device"
# Archos Arnova Childpad
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1458", RUN+="/usr/sbin/pupautodetect android-device"
# Archos Arnova 8c G3
ATTR{idVendor}=="0e79", ATTR{idProduct}=="145e", RUN+="/usr/sbin/pupautodetect android-device"
# Archos Arnova 10bG3 Tablet
ATTR{idVendor}=="0e79", ATTR{idProduct}=="146b", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 97 Xenon
ATTR{idVendor}=="0e79", ATTR{idProduct}=="149a", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 97 Titanium
ATTR{idVendor}=="0e79", ATTR{idProduct}=="14ad", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 101 Titanium
ATTR{idVendor}=="0e79", ATTR{idProduct}=="14b9", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 8o G9 (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1508", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 8o G9 Turbo (MTP mode)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1509", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 80G9
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1518", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 101 G9 (ID1)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1528", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 101 G9 (ID2)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1529", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 101 G9 Turbo 250 HD
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1538", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 101 G9 Turbo
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1539", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 70it2 (ID 1)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1568", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 70it2 (ID 2)
ATTR{idVendor}=="0e79", ATTR{idProduct}=="1569", RUN+="/usr/sbin/pupautodetect android-device"
# Archos 101 G4
ATTR{idVendor}=="0e79", ATTR{idProduct}=="4002", RUN+="/usr/sbin/pupautodetect android-device"
# Archos (for Tesco) Hudl
ATTR{idVendor}=="0e79", ATTR{idProduct}=="5008", RUN+="/usr/sbin/pupautodetect android-device"
# Dunlop MP3 player 1GB / EGOMAN MD223AFD
ATTR{idVendor}=="10d6", ATTR{idProduct}=="2200", RUN+="/usr/sbin/pupautodetect android-device"
# Memorex or iRiver MMP 8585/8586 or iRiver E200
ATTR{idVendor}=="10d6", ATTR{idProduct}=="2300", RUN+="/usr/sbin/pupautodetect android-device"
# Sirius Stiletto
ATTR{idVendor}=="18f6", ATTR{idProduct}=="0102", RUN+="/usr/sbin/pupautodetect android-device"
# Sirius Stiletto 2
ATTR{idVendor}=="18f6", ATTR{idProduct}=="0110", RUN+="/usr/sbin/pupautodetect android-device"
# Canon Ixus Digital 700 (PTP/MTP mode)
ATTR{idVendor}=="04a9", ATTR{idProduct}=="30f2", RUN+="/usr/sbin/pupautodetect android-device"
# Canon PowerShot A640 (PTP/MTP mode)
ATTR{idVendor}=="04a9", ATTR{idProduct}=="3139", RUN+="/usr/sbin/pupautodetect android-device"
# Canon PowerShot SX20IS (PTP/MTP mode)
ATTR{idVendor}=="04a9", ATTR{idProduct}=="31e4", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N81 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="000a", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 6120c Classic Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="002e", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N96 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="0039", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 6500c Classic Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="003c", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 3110c Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="005f", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 3109c Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="0065", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5310 XpressMusic
ATTR{idVendor}=="0421", ATTR{idProduct}=="006c", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N95 Mobile Phone 8GB
ATTR{idVendor}=="0421", ATTR{idProduct}=="006e", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N82 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="0074", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N78 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="0079", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 6220 Classic
ATTR{idVendor}=="0421", ATTR{idProduct}=="008d", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N85 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="0092", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 6210 Navigator
ATTR{idVendor}=="0421", ATTR{idProduct}=="0098", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia E71
ATTR{idVendor}=="0421", ATTR{idProduct}=="00e4", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia E66
ATTR{idVendor}=="0421", ATTR{idProduct}=="00e5", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5320 XpressMusic
ATTR{idVendor}=="0421", ATTR{idProduct}=="00ea", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5800 XpressMusic
ATTR{idVendor}=="0421", ATTR{idProduct}=="0154", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5800 XpressMusic v2
ATTR{idVendor}=="0421", ATTR{idProduct}=="0155", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5800 XpressMusic v3
ATTR{idVendor}=="0421", ATTR{idProduct}=="0159", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia E63
ATTR{idVendor}=="0421", ATTR{idProduct}=="0179", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N79
ATTR{idVendor}=="0421", ATTR{idProduct}=="0186", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia E71x
ATTR{idVendor}=="0421", ATTR{idProduct}=="01a1", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia E52
ATTR{idVendor}=="0421", ATTR{idProduct}=="01cf", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 3710
ATTR{idVendor}=="0421", ATTR{idProduct}=="01ee", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N97-1
ATTR{idVendor}=="0421", ATTR{idProduct}=="01f4", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N97
ATTR{idVendor}=="0421", ATTR{idProduct}=="01f5", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5130 XpressMusic
ATTR{idVendor}=="0421", ATTR{idProduct}=="0209", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia E72
ATTR{idVendor}=="0421", ATTR{idProduct}=="0221", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5530
ATTR{idVendor}=="0421", ATTR{idProduct}=="0229", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia E6
ATTR{idVendor}=="0421", ATTR{idProduct}=="032f", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N97 mini
ATTR{idVendor}=="0421", ATTR{idProduct}=="026b", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia X6
ATTR{idVendor}=="0421", ATTR{idProduct}=="0274", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 6600i
ATTR{idVendor}=="0421", ATTR{idProduct}=="0297", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 2710
ATTR{idVendor}=="0421", ATTR{idProduct}=="02c1", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5230
ATTR{idVendor}=="0421", ATTR{idProduct}=="02e2", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N8
ATTR{idVendor}=="0421", ATTR{idProduct}=="02fe", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N8 (Ovi mode)
ATTR{idVendor}=="0421", ATTR{idProduct}=="0302", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia E7
ATTR{idVendor}=="0421", ATTR{idProduct}=="0334", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia E7 (Ovi mode)
ATTR{idVendor}=="0421", ATTR{idProduct}=="0335", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia C7
ATTR{idVendor}=="0421", ATTR{idProduct}=="03c1", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia C7 (ID2)
ATTR{idVendor}=="0421", ATTR{idProduct}=="03cd", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N950
ATTR{idVendor}=="0421", ATTR{idProduct}=="03d2", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 3250 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="0462", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N93 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="0478", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5500 Sport Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="047e", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N91 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="0485", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5700 XpressMusic Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="04b4", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5300 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="04ba", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 5200 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="04be", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N73 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="04d1", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N75 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="04e1", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N93i Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="04e5", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N95 Mobile Phone
ATTR{idVendor}=="0421", ATTR{idProduct}=="04ef", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N80 Internet Edition (Media Player)
ATTR{idVendor}=="0421", ATTR{idProduct}=="04f1", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia N9
ATTR{idVendor}=="0421", ATTR{idProduct}=="051a", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia C5-00
ATTR{idVendor}=="0421", ATTR{idProduct}=="0592", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia 808 PureView
ATTR{idVendor}=="0421", ATTR{idProduct}=="05d3", RUN+="/usr/sbin/pupautodetect android-device"
# Nokia Nokia Lumia WP8
ATTR{idVendor}=="0421", ATTR{idProduct}=="0661", RUN+="/usr/sbin/pupautodetect android-device"
# Qualcomm (for Nokia) 5530 Xpressmusic
ATTR{idVendor}=="05c6", ATTR{idProduct}=="0229", RUN+="/usr/sbin/pupautodetect android-device"
# Qualcomm (for Nokia/Verizon) 6205 Balboa/Verizon Music Phone
ATTR{idVendor}=="05c6", ATTR{idProduct}=="3196", RUN+="/usr/sbin/pupautodetect android-device"
# Qualcomm (for Smartfren) Andromax U
ATTR{idVendor}=="05c6", ATTR{idProduct}=="9025", RUN+="/usr/sbin/pupautodetect android-device"
# Logik LOG DAX MP3 and DAB Player
ATTR{idVendor}=="13d1", ATTR{idProduct}=="7002", RUN+="/usr/sbin/pupautodetect android-device"
# Technika MP-709
ATTR{idVendor}=="13d1", ATTR{idProduct}=="7017", RUN+="/usr/sbin/pupautodetect android-device"
# Thomson EM28 Series
ATTR{idVendor}=="069b", ATTR{idProduct}=="0774", RUN+="/usr/sbin/pupautodetect android-device"
# Thomson / RCA Opal / Lyra MC4002
ATTR{idVendor}=="069b", ATTR{idProduct}=="0777", RUN+="/usr/sbin/pupautodetect android-device"
# Thomson Lyra MC5104B (M51 Series)
ATTR{idVendor}=="069b", ATTR{idProduct}=="077c", RUN+="/usr/sbin/pupautodetect android-device"
# Thomson RCA H106
ATTR{idVendor}=="069b", ATTR{idProduct}=="301a", RUN+="/usr/sbin/pupautodetect android-device"
# Thomson scenium E308
ATTR{idVendor}=="069b", ATTR{idProduct}=="3028", RUN+="/usr/sbin/pupautodetect android-device"
# Thomson / RCA Lyra HC308A
ATTR{idVendor}=="069b", ATTR{idProduct}=="3035", RUN+="/usr/sbin/pupautodetect android-device"
# Fujitsu, Ltd F903iX HIGH-SPEED
ATTR{idVendor}=="04c5", ATTR{idProduct}=="1140", RUN+="/usr/sbin/pupautodetect android-device"
# Fujitsu, Ltd STYLISTIC M532
ATTR{idVendor}=="04c5", ATTR{idProduct}=="133b", RUN+="/usr/sbin/pupautodetect android-device"
# NormSoft, Inc. Pocket Tunes
ATTR{idVendor}=="1703", ATTR{idProduct}=="0001", RUN+="/usr/sbin/pupautodetect android-device"
# NormSoft, Inc. Pocket Tunes 4
ATTR{idVendor}=="1703", ATTR{idProduct}=="0002", RUN+="/usr/sbin/pupautodetect android-device"
# TrekStor Vibez 8/12GB
ATTR{idVendor}=="066f", ATTR{idProduct}=="842a", RUN+="/usr/sbin/pupautodetect android-device"
# Medion MD8333 (ID1)
ATTR{idVendor}=="066f", ATTR{idProduct}=="8550", RUN+="/usr/sbin/pupautodetect android-device"
# Medion MD8333 (ID2)
ATTR{idVendor}=="066f", ATTR{idProduct}=="8588", RUN+="/usr/sbin/pupautodetect android-device"
# Medion MD99000 (P9514)/Olivetti Olipad 110
ATTR{idVendor}=="0408", ATTR{idProduct}=="b009", RUN+="/usr/sbin/pupautodetect android-device"
# Medion Lifetab P9514
ATTR{idVendor}=="0408", ATTR{idProduct}=="b00a", RUN+="/usr/sbin/pupautodetect android-device"
# Maxfield G-Flash NG 1GB
ATTR{idVendor}=="066f", ATTR{idProduct}=="846c", RUN+="/usr/sbin/pupautodetect android-device"
# SigmaTel Inc. MTPMSCN Audio Player
ATTR{idVendor}=="066f", ATTR{idProduct}=="a010", RUN+="/usr/sbin/pupautodetect android-device"
# TrekStor i.Beat Sweez FM
ATTR{idVendor}=="0402", ATTR{idProduct}=="0611", RUN+="/usr/sbin/pupautodetect android-device"
# TrekStor i.Beat Organix 2.0
ATTR{idVendor}=="1e68", ATTR{idProduct}=="0002", RUN+="/usr/sbin/pupautodetect android-device"
# Disney MixMax
ATTR{idVendor}=="0aa6", ATTR{idProduct}=="6021", RUN+="/usr/sbin/pupautodetect android-device"
# Tevion MD 81488
ATTR{idVendor}=="0aa6", ATTR{idProduct}=="3011", RUN+="/usr/sbin/pupautodetect android-device"
# MyMusix PD-6070
ATTR{idVendor}=="0aa6", ATTR{idProduct}=="9601", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio U3 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0701", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio 6 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0711", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio 7 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0751", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio U5 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0761", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio D2 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0801", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio D2+ FW 2.x (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0861", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio D2+ DAB FW 4.x (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0871", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio D2+ FW 3.x (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0881", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio D2+ DMB FW 1.x (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0891", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio S9 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0901", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio 9 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0911", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio J3 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0921", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio X7 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0931", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio C2 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0941", RUN+="/usr/sbin/pupautodetect android-device"
# Cowon iAudio 10 (MTP mode)
ATTR{idVendor}=="0e21", ATTR{idProduct}=="0952", RUN+="/usr/sbin/pupautodetect android-device"
# Insignia NS-DV45
ATTR{idVendor}=="19ff", ATTR{idProduct}=="0303", RUN+="/usr/sbin/pupautodetect android-device"
# Insignia Sport Player
ATTR{idVendor}=="19ff", ATTR{idProduct}=="0307", RUN+="/usr/sbin/pupautodetect android-device"
# Insignia Pilot 4GB
ATTR{idVendor}=="19ff", ATTR{idProduct}=="0309", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. T54
ATTR{idVendor}=="043e", ATTR{idProduct}=="7040", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. UP3
ATTR{idVendor}=="043e", ATTR{idProduct}=="70b1", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. VX8550 V CAST Mobile Phone
ATTR{idVendor}=="1004", ATTR{idProduct}=="6010", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. KC910 Renoir Mobile Phone
ATTR{idVendor}=="1004", ATTR{idProduct}=="608f", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. GR-500 Music Player
ATTR{idVendor}=="1004", ATTR{idProduct}=="611b", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. KM900
ATTR{idVendor}=="1004", ATTR{idProduct}=="6132", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. LG8575
ATTR{idVendor}=="1004", ATTR{idProduct}=="619a", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. Android phone (ID1)
ATTR{idVendor}=="1004", ATTR{idProduct}=="61f1", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. Android phone (ID2)
ATTR{idVendor}=="1004", ATTR{idProduct}=="61f9", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. LG2 Optimus
ATTR{idVendor}=="1004", ATTR{idProduct}=="6225", RUN+="/usr/sbin/pupautodetect android-device"
# LG Electronics Inc. Various E and P models
ATTR{idVendor}=="1004", ATTR{idProduct}=="631c", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-A815/NWZ-A818
ATTR{idVendor}=="054c", ATTR{idProduct}=="0325", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-S516
ATTR{idVendor}=="054c", ATTR{idProduct}=="0326", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-S615F/NWZ-S616F/NWZ-S618F
ATTR{idVendor}=="054c", ATTR{idProduct}=="0327", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-S716F
ATTR{idVendor}=="054c", ATTR{idProduct}=="035a", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-A826/NWZ-A828/NWZ-A829
ATTR{idVendor}=="054c", ATTR{idProduct}=="035b", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-A726/NWZ-A728/NWZ-A768
ATTR{idVendor}=="054c", ATTR{idProduct}=="035c", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-B135
ATTR{idVendor}=="054c", ATTR{idProduct}=="036e", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-E436F
ATTR{idVendor}=="054c", ATTR{idProduct}=="0385", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-W202
ATTR{idVendor}=="054c", ATTR{idProduct}=="0388", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-S739F
ATTR{idVendor}=="054c", ATTR{idProduct}=="038c", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-S638F
ATTR{idVendor}=="054c", ATTR{idProduct}=="038e", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-X1050B/NWZ-X1060B
ATTR{idVendor}=="054c", ATTR{idProduct}=="0397", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-X1051/NWZ-X1061
ATTR{idVendor}=="054c", ATTR{idProduct}=="0398", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-B142F
ATTR{idVendor}=="054c", ATTR{idProduct}=="03d8", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-E344/E345
ATTR{idVendor}=="054c", ATTR{idProduct}=="03fc", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-E445
ATTR{idVendor}=="054c", ATTR{idProduct}=="03fd", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-S545
ATTR{idVendor}=="054c", ATTR{idProduct}=="03fe", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-A845
ATTR{idVendor}=="054c", ATTR{idProduct}=="0404", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-W252B
ATTR{idVendor}=="054c", ATTR{idProduct}=="04bb", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-B153F
ATTR{idVendor}=="054c", ATTR{idProduct}=="04be", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-E354
ATTR{idVendor}=="054c", ATTR{idProduct}=="04cb", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-S754
ATTR{idVendor}=="054c", ATTR{idProduct}=="04cc", RUN+="/usr/sbin/pupautodetect android-device"
# Sony Sony Tablet P1
ATTR{idVendor}=="054c", ATTR{idProduct}=="04d1", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-B163F
ATTR{idVendor}=="054c", ATTR{idProduct}=="059a", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-E464
ATTR{idVendor}=="054c", ATTR{idProduct}=="05a6", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-S765
ATTR{idVendor}=="054c", ATTR{idProduct}=="05a8", RUN+="/usr/sbin/pupautodetect android-device"
# Sony Sony Tablet S
ATTR{idVendor}=="054c", ATTR{idProduct}=="05b3", RUN+="/usr/sbin/pupautodetect android-device"
# Sony Sony Tablet S1
ATTR{idVendor}=="054c", ATTR{idProduct}=="05b4", RUN+="/usr/sbin/pupautodetect android-device"
# Sony NWZ-B173F
ATTR{idVendor}=="054c", ATTR{idProduct}=="0689", RUN+="/usr/sbin/pupautodetect android-device"
# Sony DCR-SR75
ATTR{idVendor}=="054c", ATTR{idProduct}=="1294", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson K850i
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0075", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson W910
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0076", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson W890i
ATTR{idVendor}=="0fce", ATTR{idProduct}=="00b3", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson W760i
ATTR{idVendor}=="0fce", ATTR{idProduct}=="00c6", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson C902
ATTR{idVendor}=="0fce", ATTR{idProduct}=="00d4", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson C702
ATTR{idVendor}=="0fce", ATTR{idProduct}=="00d9", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson W980
ATTR{idVendor}=="0fce", ATTR{idProduct}=="00da", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson C905
ATTR{idVendor}=="0fce", ATTR{idProduct}=="00ef", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson W595
ATTR{idVendor}=="0fce", ATTR{idProduct}=="00f3", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson W902
ATTR{idVendor}=="0fce", ATTR{idProduct}=="00f5", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson T700
ATTR{idVendor}=="0fce", ATTR{idProduct}=="00fb", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson W705/W715
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0105", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson W995
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0112", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson U5
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0133", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson U8i
ATTR{idVendor}=="0fce", ATTR{idProduct}=="013a", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson j10i2 (Elm)
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0144", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson j108i (Cedar)
ATTR{idVendor}=="0fce", ATTR{idProduct}=="014e", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson W302
ATTR{idVendor}=="0fce", ATTR{idProduct}=="10c8", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson j10i (Elm)
ATTR{idVendor}=="0fce", ATTR{idProduct}=="d144", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson K550i
ATTR{idVendor}=="0fce", ATTR{idProduct}=="e000", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson LT15i Xperia arc S MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="014f", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson MT11i Xperia Neo MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0156", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson IS12S Xperia Acro MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0157", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson MK16i Xperia MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="015a", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson R800/R88i Xperia Play MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="015d", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson ST18a Xperia Ray MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0161", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson SK17i Xperia Mini Pro MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0166", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson ST15i Xperia Mini MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0167", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson ST17i Xperia Active MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0168", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT26i Xperia S MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0169", RUN+="/usr/sbin/pupautodetect android-device"
# SONY WT19i Live Walkman MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="016d", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST21i Xperia Tipo MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0170", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST15i Xperia U MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0171", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT22i Xperia P MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0172", RUN+="/usr/sbin/pupautodetect android-device"
# SONY MT27i Xperia Sola MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0173", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT26w Xperia Acro HD IS12S MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0175", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT26w Xperia Acro HD SO-03D MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0176", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT28at Xperia Ion MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0177", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT29i Xperia GX MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0178", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST27i/ST27a Xperia go MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="017e", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST23i Xperia Miro MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0180", RUN+="/usr/sbin/pupautodetect android-device"
# SONY SO-05D Xperia SX MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0181", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT30p Xperia T MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0182", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT25i Xperia V MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0186", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia J MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0188", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia ZL MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0189", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia E MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="018c", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Tablet Z MTP 1
ATTR{idVendor}=="0fce", ATTR{idProduct}=="018d", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia L MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0192", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Z MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0193", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Tablet Z MTP 2
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0194", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia SP MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="0195", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia M MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="019b", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Z1 MTP
ATTR{idVendor}=="0fce", ATTR{idProduct}=="019e", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson IS12S Xperia Acro MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4157", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson ST17i Xperia Active MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4168", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT26i Xperia S MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4169", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST21i Xperia Tipo MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4170", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST25i Xperia U MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4171", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT22i Xperia P MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4172", RUN+="/usr/sbin/pupautodetect android-device"
# SONY MT27i Xperia Sola MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4173", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT26w Xperia Acro HD IS12S MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4175", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT26w Xperia Acro HD SO-03D MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4176", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT28at Xperia Ion MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4177", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT29i Xperia GX MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4178", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST27i/ST27a Xperia go MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="417e", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST23i Xperia Miro MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4180", RUN+="/usr/sbin/pupautodetect android-device"
# SONY SO-05D Xperia SX MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4181", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT30p Xperia T MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4182", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT25i Xperia V MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4186", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia J MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4188", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia ZL MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4189", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia E MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="418c", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Tablet Z MTP+CDROM 1
ATTR{idVendor}=="0fce", ATTR{idProduct}=="418d", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia L MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4192", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Z MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4193", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Tablet Z MTP+CDROM 2
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4194", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia SP MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="4195", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia M MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="419b", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Z1 MTP+CDROM
ATTR{idVendor}=="0fce", ATTR{idProduct}=="419e", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson LT15i Xperia Arc MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="514f", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson MT11i Xperia Neo MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5156", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson IS12S Xperia Acro MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5157", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson MK16i Xperia MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="515a", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson R800/R88i Xperia Play MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="515d", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson ST18i Xperia Ray MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5161", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson SK17i Xperia Mini Pro MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5166", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson ST15i Xperia Mini MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5167", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson ST17i Xperia Active MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5168", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT26i Xperia S MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5169", RUN+="/usr/sbin/pupautodetect android-device"
# SonyEricsson WT19i Live Walkman MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="516d", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST21i Xperia Tipo MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5170", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST25i Xperia U MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5171", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT22i Xperia P MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5172", RUN+="/usr/sbin/pupautodetect android-device"
# SONY MT27i Xperia Sola MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5173", RUN+="/usr/sbin/pupautodetect android-device"
# SONY IS12S Xperia Acro HD MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5175", RUN+="/usr/sbin/pupautodetect android-device"
# SONY SO-03D Xperia Acro HD MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5176", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT28at Xperia Ion MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5177", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT29i Xperia GX MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5178", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST27i/ST27a Xperia go MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="517e", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST23i Xperia Miro MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5180", RUN+="/usr/sbin/pupautodetect android-device"
# SONY SO-05D Xperia SX MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5181", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT30p Xperia T MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5182", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT25i Xperia V MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5186", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia J MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5188", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia ZL MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5189", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia E MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="518c", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Tablet Z MTP+ADB 1
ATTR{idVendor}=="0fce", ATTR{idProduct}=="518d", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia L MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5192", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Z MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5193", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Tablet Z MTP+ADB 2
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5194", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia SP MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="5195", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia M MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="519b", RUN+="/usr/sbin/pupautodetect android-device"
# SONY Xperia Z1 MTP+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="519e", RUN+="/usr/sbin/pupautodetect android-device"
# SONY MT27i Xperia Sola MTP+UMS
ATTR{idVendor}=="0fce", ATTR{idProduct}=="a173", RUN+="/usr/sbin/pupautodetect android-device"
# SONY IS12S Xperia Acro HD MTP+UMS
ATTR{idVendor}=="0fce", ATTR{idProduct}=="a175", RUN+="/usr/sbin/pupautodetect android-device"
# SONY SO-03D Xperia Acro HD MTP+UMS
ATTR{idVendor}=="0fce", ATTR{idProduct}=="a176", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT28at Xperia Ion MTP+UMS
ATTR{idVendor}=="0fce", ATTR{idProduct}=="a177", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST27i/ST27a Xperia go MTP+UMS
ATTR{idVendor}=="0fce", ATTR{idProduct}=="a17e", RUN+="/usr/sbin/pupautodetect android-device"
# SONY MT27i Xperia Sola MTP+UMS+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="b173", RUN+="/usr/sbin/pupautodetect android-device"
# SONY IS12S Xperia Acro MTP+UMS+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="b175", RUN+="/usr/sbin/pupautodetect android-device"
# SONY SO-03D Xperia Acro MTP+UMS+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="b176", RUN+="/usr/sbin/pupautodetect android-device"
# SONY LT28at Xperia Ion MTP+UMS+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="b177", RUN+="/usr/sbin/pupautodetect android-device"
# SONY ST27i/ST27a Xperia go MTP+UMS+ADB
ATTR{idVendor}=="0fce", ATTR{idProduct}=="b17e", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola V3m/V750 verizon
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2a65", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Atrix/Razr HD (MTP)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e32", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Atrix/Razr HD (MTP+ADB)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e33", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola RAZR M XT907 (MTP)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e50", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola RAZR M XT907 (MTP+ADB)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e51", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Moto X (XT1053)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e62", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Moto X (XT1058)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e63", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Droid Maxx (XT1080)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e67", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Moto G
ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e82", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Xoom 2 Media Edition (ID2)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="41cf", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Droid X/MB525 (Defy)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="41d6", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola DROID2 (ID1)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="41da", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Milestone / Verizon Droid
ATTR{idVendor}=="22b8", ATTR{idProduct}=="41dc", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola DROID2 (ID2)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="42a7", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Xoom 2 Media Edition
ATTR{idVendor}=="22b8", ATTR{idProduct}=="4311", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola XT912/XT928
ATTR{idVendor}=="22b8", ATTR{idProduct}=="4362", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola DROID4
ATTR{idVendor}=="22b8", ATTR{idProduct}=="437f", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola IdeaPad K1
ATTR{idVendor}=="22b8", ATTR{idProduct}=="4811", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola A1200
ATTR{idVendor}=="22b8", ATTR{idProduct}=="60ca", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola MTP Test Command Interface
ATTR{idVendor}=="22b8", ATTR{idProduct}=="6413", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola RAZR2 V8/U9/Z6
ATTR{idVendor}=="22b8", ATTR{idProduct}=="6415", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Razr D1/D3/i (MTP)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="64b5", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Atrix MB860 (MTP)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="7088", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Xoom (Factory test)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a3", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Xoom (MTP)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a8", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Xoom (MTP+ADB)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola Milestone X2
ATTR{idVendor}=="22b8", ATTR{idProduct}=="70ca", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola XT890/907/Razr (MTP)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="710d", RUN+="/usr/sbin/pupautodetect android-device"
# Motorola XT890/907/Razr (MTP+ADB)
ATTR{idVendor}=="22b8", ATTR{idProduct}=="710e", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Allwinner) A31 SoC
ATTR{idVendor}=="18d1", ATTR{idProduct}=="0006", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Ainol Novo) Fire/Flame
ATTR{idVendor}=="18d1", ATTR{idProduct}=="0007", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Sony) S1
ATTR{idVendor}=="18d1", ATTR{idProduct}=="05b3", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Barnes & Noble) Nook Color
ATTR{idVendor}=="18d1", ATTR{idProduct}=="2d02", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Asus) TF201 Transformer
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4d00", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Asus) TF101 Transformer
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e0f", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Samsung) Nexus S (MTP)
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e25", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Samsung) Nexus S (MTP+ADB)
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e26", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Asus) Nexus 7 (MTP)
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e41", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Asus) Nexus 7 (MTP+ADB)
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP)
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP+ADB)
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Motorola) Xoom (MZ604)
ATTR{idVendor}=="18d1", ATTR{idProduct}=="70a8", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Toshiba) Thrive 7/AT105
ATTR{idVendor}=="18d1", ATTR{idProduct}=="7102", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Lenovo) Ideapad K1
ATTR{idVendor}=="18d1", ATTR{idProduct}=="740a", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for Medion) MD99000 (P9514)
ATTR{idVendor}=="18d1", ATTR{idProduct}=="b00a", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for LG Electronics) P990/Optimus (Cyanogen)
ATTR{idVendor}=="18d1", ATTR{idProduct}=="d109", RUN+="/usr/sbin/pupautodetect android-device"
# Google Inc (for LG Electronics) P990/Optimus
ATTR{idVendor}=="18d1", ATTR{idProduct}=="d10a", RUN+="/usr/sbin/pupautodetect android-device"
# Kenwood Media Keg HD10GB7 Sport Player
ATTR{idVendor}=="0b28", ATTR{idProduct}=="100c", RUN+="/usr/sbin/pupautodetect android-device"
# Micro-Star International P610/Model MS-5557
ATTR{idVendor}=="0db0", ATTR{idProduct}=="5572", RUN+="/usr/sbin/pupautodetect android-device"
# FOMA D905i
ATTR{idVendor}=="06d3", ATTR{idProduct}=="21ba", RUN+="/usr/sbin/pupautodetect android-device"
# Haier Ibiza Rhapsody 1
ATTR{idVendor}=="1302", ATTR{idProduct}=="1016", RUN+="/usr/sbin/pupautodetect android-device"
# Haier Ibiza Rhapsody 2
ATTR{idVendor}=="1302", ATTR{idProduct}=="1017", RUN+="/usr/sbin/pupautodetect android-device"
# Panasonic P905i
ATTR{idVendor}=="04da", ATTR{idProduct}=="2145", RUN+="/usr/sbin/pupautodetect android-device"
# Panasonic P906i
ATTR{idVendor}=="04da", ATTR{idProduct}=="2158", RUN+="/usr/sbin/pupautodetect android-device"
# Polaroid Freescape/MPU-433158
ATTR{idVendor}=="0546", ATTR{idProduct}=="2035", RUN+="/usr/sbin/pupautodetect android-device"
# Pioneer XMP3
ATTR{idVendor}=="08e4", ATTR{idProduct}=="0148", RUN+="/usr/sbin/pupautodetect android-device"
# Slacker Inc. Slacker Portable Media Player
ATTR{idVendor}=="1bdc", ATTR{idProduct}=="fabf", RUN+="/usr/sbin/pupautodetect android-device"
# Conceptronic CMTD2
ATTR{idVendor}=="1e53", ATTR{idProduct}=="0005", RUN+="/usr/sbin/pupautodetect android-device"
# O2 Sistemas ZoltarTV
ATTR{idVendor}=="1e53", ATTR{idProduct}=="0006", RUN+="/usr/sbin/pupautodetect android-device"
# Wyplay Wyplayer
ATTR{idVendor}=="1e53", ATTR{idProduct}=="0007", RUN+="/usr/sbin/pupautodetect android-device"
# Perception Digital, Ltd Gigaware GX400
ATTR{idVendor}=="0aa6", ATTR{idProduct}=="9702", RUN+="/usr/sbin/pupautodetect android-device"
# RIM BlackBerry Storm/9650
ATTR{idVendor}=="0fca", ATTR{idProduct}=="8007", RUN+="/usr/sbin/pupautodetect android-device"
# Nextar MA715A-8R
ATTR{idVendor}=="0402", ATTR{idProduct}=="5668", RUN+="/usr/sbin/pupautodetect android-device"
# Coby COBY MP705
ATTR{idVendor}=="1e74", ATTR{idProduct}=="6512", RUN+="/usr/sbin/pupautodetect android-device"
# Curitel Communications, Inc. Verizon Wireless Device
ATTR{idVendor}=="106c", ATTR{idProduct}=="3215", RUN+="/usr/sbin/pupautodetect android-device"
# Pantech Crux
ATTR{idVendor}=="106c", ATTR{idProduct}=="f003", RUN+="/usr/sbin/pupautodetect android-device"
# Asus TF300 Transformer (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4c80", RUN+="/usr/sbin/pupautodetect android-device"
# Asus TF300 Transformer (MTP+ADB)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4c81", RUN+="/usr/sbin/pupautodetect android-device"
# Asus TF700 Transformer (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4c90", RUN+="/usr/sbin/pupautodetect android-device"
# Asus TF700 Transformer (MTP+ADB)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4c91", RUN+="/usr/sbin/pupautodetect android-device"
# Asus ME301T MeMo Pad Smart 10 (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4cd0", RUN+="/usr/sbin/pupautodetect android-device"
# Asus ME301T MeMo Pad Smart 10 (MTP+ADB)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4cd1", RUN+="/usr/sbin/pupautodetect android-device"
# Asus Asus Fonepad Note 6 (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4ce0", RUN+="/usr/sbin/pupautodetect android-device"
# Asus Asus Fonepad Note 6 (MTP+ADB)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4ce1", RUN+="/usr/sbin/pupautodetect android-device"
# Asus TF201 Transformer Prime (keyboard dock)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4d00", RUN+="/usr/sbin/pupautodetect android-device"
# Asus TF201 Transformer Prime (tablet only)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4d01", RUN+="/usr/sbin/pupautodetect android-device"
# Asus SL101 (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4e00", RUN+="/usr/sbin/pupautodetect android-device"
# Asus SL101 (MTP+ADB)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4e01", RUN+="/usr/sbin/pupautodetect android-device"
# Asus TF101 Eeepad Transformer (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4e0f", RUN+="/usr/sbin/pupautodetect android-device"
# Asus TF101 Eeepad Transformer (MTP+ADB)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="4e1f", RUN+="/usr/sbin/pupautodetect android-device"
# Asus Fonepad
ATTR{idVendor}=="0b05", ATTR{idProduct}=="514f", RUN+="/usr/sbin/pupautodetect android-device"
# Asus PadFone (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="5200", RUN+="/usr/sbin/pupautodetect android-device"
# Asus PadFone (MTP+ADB)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="5201", RUN+="/usr/sbin/pupautodetect android-device"
# Asus ME302C MemoPad (MTP+?)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="520f", RUN+="/usr/sbin/pupautodetect android-device"
# Asus PadFone 2 (MTP+?)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="5210", RUN+="/usr/sbin/pupautodetect android-device"
# Asus PadFone 2 (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="5211", RUN+="/usr/sbin/pupautodetect android-device"
# Asus ME302C MemoPad (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="521f", RUN+="/usr/sbin/pupautodetect android-device"
# Asus Memo ME172V (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="5400", RUN+="/usr/sbin/pupautodetect android-device"
# Asus Memo ME173X (MTP)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="5410", RUN+="/usr/sbin/pupautodetect android-device"
# Asus Memo ME173X (MTP+ADB)
ATTR{idVendor}=="0b05", ATTR{idProduct}=="5411", RUN+="/usr/sbin/pupautodetect android-device"
# Lenovo K1
ATTR{idVendor}=="17ef", ATTR{idProduct}=="740a", RUN+="/usr/sbin/pupautodetect android-device"
# Lenovo ThinkPad Tablet
ATTR{idVendor}=="17ef", ATTR{idProduct}=="741c", RUN+="/usr/sbin/pupautodetect android-device"
# Medion Lifetab P9516
ATTR{idVendor}=="17ef", ATTR{idProduct}=="7483", RUN+="/usr/sbin/pupautodetect android-device"
# Lenovo P700
ATTR{idVendor}=="17ef", ATTR{idProduct}=="7497", RUN+="/usr/sbin/pupautodetect android-device"
# Lenovo Lifetab S9512
ATTR{idVendor}=="17ef", ATTR{idProduct}=="74cc", RUN+="/usr/sbin/pupautodetect android-device"
# Lenovo IdeaTab A2109A
ATTR{idVendor}=="17ef", ATTR{idProduct}=="7542", RUN+="/usr/sbin/pupautodetect android-device"
# Lenovo IdeaPad A3000
ATTR{idVendor}=="17ef", ATTR{idProduct}=="75be", RUN+="/usr/sbin/pupautodetect android-device"
# Huawei MTP device (ID1)
ATTR{idVendor}=="12d1", ATTR{idProduct}=="1051", RUN+="/usr/sbin/pupautodetect android-device"
# Huawei MTP device (ID2)
ATTR{idVendor}=="12d1", ATTR{idProduct}=="1052", RUN+="/usr/sbin/pupautodetect android-device"
# Huawei Mediapad (mode 0)
ATTR{idVendor}=="12d1", ATTR{idProduct}=="360f", RUN+="/usr/sbin/pupautodetect android-device"
# Huawei Mediapad (mode 1)
ATTR{idVendor}=="12d1", ATTR{idProduct}=="361f", RUN+="/usr/sbin/pupautodetect android-device"
# ZTE V55 ID 1
ATTR{idVendor}=="19d2", ATTR{idProduct}=="0244", RUN+="/usr/sbin/pupautodetect android-device"
# ZTE V55 ID 2
ATTR{idVendor}=="19d2", ATTR{idProduct}=="0245", RUN+="/usr/sbin/pupautodetect android-device"
# ZTE V790/Blade 3
ATTR{idVendor}=="19d2", ATTR{idProduct}=="0306", RUN+="/usr/sbin/pupautodetect android-device"
# ZTE V880E
ATTR{idVendor}=="19d2", ATTR{idProduct}=="0307", RUN+="/usr/sbin/pupautodetect android-device"
# ZTE V985
ATTR{idVendor}=="19d2", ATTR{idProduct}=="0383", RUN+="/usr/sbin/pupautodetect android-device"
# HTC Windows Phone 8X ID1
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0ba1", RUN+="/usr/sbin/pupautodetect android-device"
# HTC Windows Phone 8X ID2
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0ba2", RUN+="/usr/sbin/pupautodetect android-device"
# HTC EVO 4G LTE/One V (ID1)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0c93", RUN+="/usr/sbin/pupautodetect android-device"
# HTC EVO 4G LTE/One V (ID2)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0ca8", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One S (ID1)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0cec", RUN+="/usr/sbin/pupautodetect android-device"
# HTC One Mini (ID1)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dcd", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC Desire X
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dd5", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One (ID1)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dda", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC Butterfly X290d
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0de4", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One (MTP+UMS+ADB)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dea", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC Evo 4G LTE (ID1)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0df5", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One S (ID2)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0df8", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One S (ID3)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0df9", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One X (ID1)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dfa", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One X (ID2)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dfb", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One X (ID3)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dfc", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One X (ID4)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dfd", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC Butterfly (ID1)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dfe", RUN+="/usr/sbin/pupautodetect android-device"
# HTC Droid DNA (MTP+UMS+ADB)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0dff", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC Droid Incredible 4G LTE (MTP)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0e31", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC Droid Incredible 4G LTE (MTP+ADB)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0e32", RUN+="/usr/sbin/pupautodetect android-device"
# HTC Droid DNA (MTP+UMS)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0ebd", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One (ID2)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0f63", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One (MTP+ADB)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0f87", RUN+="/usr/sbin/pupautodetect android-device"
# HTC HTC One (ID3)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0f91", RUN+="/usr/sbin/pupautodetect android-device"
# HTC (for Hewlett-Packard) HP Touchpad (MTP)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="685c", RUN+="/usr/sbin/pupautodetect android-device"
# HTC (for Hewlett-Packard) HP Touchpad (MTP+ADB)
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="6860", RUN+="/usr/sbin/pupautodetect android-device"
# HTC Windows Phone 8s ID1
ATTR{idVendor}=="0bb4", ATTR{idProduct}=="f0ca", RUN+="/usr/sbin/pupautodetect android-device"
# NEC FOMA N01A
ATTR{idVendor}=="0409", ATTR{idProduct}=="0242", RUN+="/usr/sbin/pupautodetect android-device"
# NEC Casio C811
ATTR{idVendor}=="0409", ATTR{idProduct}=="0326", RUN+="/usr/sbin/pupautodetect android-device"
# NEC Casio CA-201L
ATTR{idVendor}=="0409", ATTR{idProduct}=="0432", RUN+="/usr/sbin/pupautodetect android-device"
# nVidia CM9-Adam
ATTR{idVendor}=="0955", ATTR{idProduct}=="70a9", RUN+="/usr/sbin/pupautodetect android-device"
# nVidia Various tablets (ID1)
ATTR{idVendor}=="0955", ATTR{idProduct}=="7100", RUN+="/usr/sbin/pupautodetect android-device"
# nVidia Various tablets (ID2)
ATTR{idVendor}=="0955", ATTR{idProduct}=="7102", RUN+="/usr/sbin/pupautodetect android-device"
# nVidia Shield (ID1)
ATTR{idVendor}=="0955", ATTR{idProduct}=="b400", RUN+="/usr/sbin/pupautodetect android-device"
# Vizio Unknown 1
ATTR{idVendor}=="0489", ATTR{idProduct}=="c026", RUN+="/usr/sbin/pupautodetect android-device"
# Vizio VTAB1008
ATTR{idVendor}=="0489", ATTR{idProduct}=="e040", RUN+="/usr/sbin/pupautodetect android-device"
# Vizio (for Lenovo) LIFETAB S9714
ATTR{idVendor}=="0489", ATTR{idProduct}=="e111", RUN+="/usr/sbin/pupautodetect android-device"
# Amazon Kindle Fire 2G (ID1)
ATTR{idVendor}=="1949", ATTR{idProduct}=="0005", RUN+="/usr/sbin/pupautodetect android-device"
# Amazon Kindle Fire (ID1)
ATTR{idVendor}=="1949", ATTR{idProduct}=="0007", RUN+="/usr/sbin/pupautodetect android-device"
# Amazon Kindle Fire (ID2)
ATTR{idVendor}=="1949", ATTR{idProduct}=="0008", RUN+="/usr/sbin/pupautodetect android-device"
# Amazon Kindle Fire (ID3)
ATTR{idVendor}=="1949", ATTR{idProduct}=="000a", RUN+="/usr/sbin/pupautodetect android-device"
# Amazon Kindle Fire (ID4)
ATTR{idVendor}=="1949", ATTR{idProduct}=="000c", RUN+="/usr/sbin/pupautodetect android-device"
# Barnes&Noble Nook HD+
ATTR{idVendor}=="2080", ATTR{idProduct}=="0005", RUN+="/usr/sbin/pupautodetect android-device"
# Barnes&Noble Nook HD
ATTR{idVendor}=="2080", ATTR{idProduct}=="0006", RUN+="/usr/sbin/pupautodetect android-device"
# Various Viewpia DR/bq Kepler
ATTR{idVendor}=="2207", ATTR{idProduct}=="0001", RUN+="/usr/sbin/pupautodetect android-device"
# YiFang BQ Tesla
ATTR{idVendor}=="2207", ATTR{idProduct}=="0006", RUN+="/usr/sbin/pupautodetect android-device"
# Kobo Arc (ID1)
ATTR{idVendor}=="2237", ATTR{idProduct}=="d108", RUN+="/usr/sbin/pupautodetect android-device"
# Kobo Arc (ID2)
ATTR{idVendor}=="2237", ATTR{idProduct}=="d109", RUN+="/usr/sbin/pupautodetect android-device"
# Hisense E860 (ID1)
ATTR{idVendor}=="109b", ATTR{idProduct}=="9106", RUN+="/usr/sbin/pupautodetect android-device"
# Hisense E860 (ID2)
ATTR{idVendor}=="109b", ATTR{idProduct}=="9109", RUN+="/usr/sbin/pupautodetect android-device"
# Intel Xolo 900/AZ210A
ATTR{idVendor}=="8087", ATTR{idProduct}=="09fb", RUN+="/usr/sbin/pupautodetect android-device"
# Xiaomi Mi-3 (MTP)
ATTR{idVendor}=="2717", ATTR{idProduct}=="0368", RUN+="/usr/sbin/pupautodetect android-device"
# Xiaomi Mi-2 (MTP+ADB)
ATTR{idVendor}=="2717", ATTR{idProduct}=="9039", RUN+="/usr/sbin/pupautodetect android-device"
# Xiaomi Mi-2 (MTP)
ATTR{idVendor}=="2717", ATTR{idProduct}=="f003", RUN+="/usr/sbin/pupautodetect android-device"
# Acromag Inc. XO Learning Tablet (MTP+ADB)
ATTR{idVendor}=="16d5", ATTR{idProduct}=="8005", RUN+="/usr/sbin/pupautodetect android-device"
# Acromag Inc. XO Learning Tablet (MTP)
ATTR{idVendor}=="16d5", ATTR{idProduct}=="8006", RUN+="/usr/sbin/pupautodetect android-device"
# SHARP Corporation SH930W
ATTR{idVendor}=="0489", ATTR{idProduct}=="c025", RUN+="/usr/sbin/pupautodetect android-device"
# SHARP Corporation SBM203SH
ATTR{idVendor}=="04dd", ATTR{idProduct}=="9661", RUN+="/usr/sbin/pupautodetect android-device"
# SHARP Corporation SH-06E
ATTR{idVendor}=="04dd", ATTR{idProduct}=="96ca", RUN+="/usr/sbin/pupautodetect android-device"
# Alcatel One Touch 997D
ATTR{idVendor}=="1bbb", ATTR{idProduct}=="2008", RUN+="/usr/sbin/pupautodetect android-device"
# Alcatel/TCT 6010D/TCL S950
ATTR{idVendor}=="1bbb", ATTR{idProduct}=="0167", RUN+="/usr/sbin/pupautodetect android-device"
# Alcatel 6030a
ATTR{idVendor}=="1bbb", ATTR{idProduct}=="0168", RUN+="/usr/sbin/pupautodetect android-device"
# Kyocera Rise
ATTR{idVendor}=="0482", ATTR{idProduct}=="0571", RUN+="/usr/sbin/pupautodetect android-device"
# HiSense Sero 7 Pro
ATTR{idVendor}=="109b", ATTR{idProduct}=="9105", RUN+="/usr/sbin/pupautodetect android-device"
# Hewlett-Packard Slate 7 4600
ATTR{idVendor}=="03f0", ATTR{idProduct}=="5c1d", RUN+="/usr/sbin/pupautodetect android-device"
# Hewlett-Packard Slate 7 2800
ATTR{idVendor}=="03f0", ATTR{idProduct}=="5d1d", RUN+="/usr/sbin/pupautodetect android-device"
# MediaTek Inc MT510R
ATTR{idVendor}=="0e8d", ATTR{idProduct}=="0050", RUN+="/usr/sbin/pupautodetect android-device"
# Jolla Sailfish
ATTR{idVendor}=="2931", ATTR{idProduct}=="0a01", RUN+="/usr/sbin/pupautodetect android-device"
# Isabella Her Prototype
ATTR{idVendor}=="0b20", ATTR{idProduct}=="ddee", RUN+="/usr/sbin/pupautodetect android-device"

# Autoprobe vendor-specific, communication and PTP devices
ENV{ID_MTP_DEVICE}!="1", ENV{MTP_NO_PROBE}!="1", ENV{COLOR_MEASUREMENT_DEVICE}!="1", ENV{libsane_matched}!="yes", ATTR{bDeviceClass}=="00|02|06|ef|ff", PROGRAM="/etc/udev/mtp-probe /sys$env{DEVPATH} $attr{busnum} $attr{devnum}", RESULT=="1", RUN+="/usr/sbin/pupautodetect android-device"

LABEL="libmtp_rules_end"
